<!-- 操作模板 -->
<script th:fragment="pa_operation_default(model,name,url,did)" type="text/html" id="operationTpl">
    <button th:if="${@lj.limit(model+'Edit') gt 0}" class="layui-btn layui-btn-xs" th:title="|${name}编辑:${did}|" th:ljUrl="|${url}/edit?id=${did}|" ljWidth="800px" target="ljOpenSubmit">
        <i class="layui-icon layui-icon-edit"></i>编辑
    </button>
    <button th:if="${@lj.limit(model+'Detail') gt 0}" class="layui-btn layui-btn-xs layui-btn-normal" th:title="|${name}详情:${did}|" th:ljUrl="|${url}/detail?id=${did}|" target="ljOpenCon">
        <i class="layui-icon layui-icon-form"></i>详情
    </button>
    <button th:if="${@lj.limit(model+'Del') gt 0}" class="layui-btn layui-btn-xs layui-btn-danger" th:title="|确认要删除该${name}吗?|" th:ljUrl="|${url}/del?id=${did}|" target="ljAjaxTodo">
        <i class="layui-icon layui-icon-delete"></i>删除
    </button>
</script>